﻿using SmartConference.Api.DTO;
using SmartConference.Domain;
using SmartConference.ErrorCode;

namespace SmartConference.Api.Applocations.IServices
{
    public interface IRoleServices
    {
        Task<ApiResult<List<RoleInfo>>> GetRole(string? RoleName);
        Task<ApiResult> UpdateRoleState(int RoleId, int RoleStatus,string ContentDesc);
        Task<ApiResult> DeleteRole(int RoleId);
        Task<ApiResult> UpdateRole(int Roleid, string RoleName, string DepartmentDescription);
        Task<ApiResult> AddRole(AddRoleDTO addRoleDTO);
    }
}
